package com.quartet.modules.equipment.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 风险信息表(TRiskInfo)表实体类
 *
 * @author makejava
 * @since 2021-05-04 16:46:14
 */
@Data
@ApiModel(value = "风险信息")
public class TRiskInfoResponseDto implements Serializable {

    /**
     * @Fields serialVersionUID
     *
     */
    private static final long serialVersionUID = -4335091599541349301L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Integer id;
    /**
     * 风险信息类型 1：客户 2：车辆
     */
    @ApiModelProperty(value = "风险信息类型 1：客户 2：车辆")
    private Integer riskInfoType;
    /**
     * 客户编码
     */
    @ApiModelProperty(value = "客户编码")
    private String customerCode;
    /**
     * 车辆编码
     */
    @ApiModelProperty(value = "车辆编码")
    private String vehicleCode;
    /**
     * 车牌号码
     */
    @ApiModelProperty(value = "车牌号码")
    private String carNumber;
    /**
     * 车辆数
     */
    @ApiModelProperty(value = "车辆数")
    private Integer vehicleNumber;
    /**
     * 风险等级
     */
    @ApiModelProperty(value = "风险等级")
    private Integer riskLevel;
    /**
     * 高风险报警次数
     */
    @ApiModelProperty(value = "高风险报警次数")
    private Integer highRiskAlarmTime;
    /**
     * 高风险同期变化
     */
    @ApiModelProperty(value = "高风险同期变化")
    private Integer highRiskContemporaneousChange;
    /**
     * 中风险报警次数
     */
    @ApiModelProperty(value = "中风险报警次数")
    private Integer mediumRiskAlarmTime;
    /**
     * 中风险同期变化
     */
    @ApiModelProperty(value = "中风险同期变化")
    private Integer mediumRiskContemporaneousChange;
    /**
     * 低风险报警次数
     */
    @ApiModelProperty(value = "低风险报警次数")
    private Integer lowRiskAlarmTime;
    /**
     * 低风险同期变化
     */
    @ApiModelProperty(value = "低风险同期变化")
    private Integer lowRiskContemporaneousChange;
    /**
     * 车辆日得分
     */
    @ApiModelProperty(value = "车辆日得分")
    private float vehicleDayScore;
    /**
     * 客户日风险值
     */
    @ApiModelProperty(value = "客户日风险值")
    private float customerDayValue;
    /**
     * 报警级别 1:一级报警 2：二级报警
     */
    @ApiModelProperty(value = "报警级别 1:一级报警 2：二级报警")
    private String alarmLevel;
    /**
     * 报警类型
     */
    @ApiModelProperty(value = "报警类型")
    private String alarmType;
    /**
     * 删除标识 0未删除 1删除
     */
    @ApiModelProperty(value = "删除标识 0未删除 1删除")
    private Integer deleted;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
